<div class="navbar-search">

    <div ui-view="">
        <h1>
            这里给大家提供了一个翻译的功能{{hello}}
        </h1>
        <div>
            <div><input type="text" ng-model="word">
                <button ng-click="translate(word)">翻译</button>
            </div>

            <div><textarea ng-model="result" style="height: 200px;width: 500px;"></textarea></div>
        </div>
    </div>
</div>